import  request  from "../utils/request";

export const login = (account: any) => 
  request<any, ILoginSuccess>({
    url: '/login',
    method: 'post',
    data: account
  })